#ifndef __APP_MESSAGE_H__
#define __APP_MESSAGE_H__

#include "stdio.h"
#include "string.h"
#include "../thirdparty/cJSON.h"

/*将json字符串转换为字符数组*/
void App_Message_json_to_bytes(char* json,char* bytesbuf,int* datalen);

/*将字符数组转换成json格式字符串*/
void App_Message_bytes_to_json(char** json,char* bytesbuf,int jsonbuf_len);

#endif /* __APP_MESSAGE_H__ */